<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<%@ include file="/WEB-INF/views/wx/include/head.jsp" %>
<style>

</style>
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a class="mui-icon mui-icon-left-nav mui-pull-left" href="${ctxWx}/pu/my"></a>
		<h1 class="mui-title">用户中心</h1>
	</header>
	<div class="mui-content">
		<form id="infoForm" class="mui-input-group" action="${ctxWx }/pu/member/update" method="post">
			<input type="hidden" name="wechatId" value="${user.id}"/>
			<div class="mui-input-row">
				<label>昵称</label>
				<input type="text" name="name" maxlength="11" class="mui-input-clear" value="${user.name }" placeholder="输入昵称">
			</div>
			<!-- <div class="mui-input-row">
				<label>性别</label>
				<input type="radio" name="mobile" maxlength="11" value="" placeholder="">
			</div> -->
			<div class="mui-input-row">
				<label>联系电话</label>
				<input type="text" name="mobile" maxlength="11" class="mui-input-clear" value="${user.mobile }" readonly>
			</div>
			<!-- <div class="mui-input-row">
				<label>通讯地址</label>
				<input type="text" name="" class="mui-input-clear" value="" placeholder="输入通讯地址">
			</div>
			<div class="mui-input-row">
				<label>邮编</label>
				<input type="text" name="" maxlength="8" class="mui-input-clear" value="" placeholder="输入邮编">
			</div> -->
			<div class="mui-input-row">
				<label>邮箱</label>
				<input type="text" name="email" class="mui-input-clear" value="${user.email }" placeholder="输入邮箱">
			</div>
		</form>
		<div class="mui-content-padded">
			<button type="button" class="mui-btn mui-btn-primary mui-btn-block" onclick="check();">修改信息</button>
		</div>
	</div>
	<%@ include file="/WEB-INF/views/wx/include/script.jsp"%>
	<script>
		function check() {
			$('#infoForm').submit();
		}
	</script>
</body>
</html>